package com.rivulet.doj_backend.pojo;

import java.util.Date;

public class Class {
    private Integer class_id;
    private String class_root;
    private Integer take_number;
    private Integer user_number;
    private Date creat_time;
    private Integer class_level;

    public Class() {
    }

    public Class(Integer class_id, String class_root, Integer take_number, Integer user_number, Date creat_time, Integer class_level) {
        this.class_id = class_id;
        this.class_root = class_root;
        this.take_number = take_number;
        this.user_number = user_number;
        this.creat_time = creat_time;
        this.class_level = class_level;
    }

    public Integer getClass_id() {
        return class_id;
    }

    public void setClass_id(Integer class_id) {
        this.class_id = class_id;
    }

    public String getClass_root() {
        return class_root;
    }

    public void setClass_root(String class_root) {
        this.class_root = class_root;
    }

    public Integer getTake_number() {
        return take_number;
    }

    public void setTake_number(Integer take_number) {
        this.take_number = take_number;
    }

    public Integer getUser_number() {
        return user_number;
    }

    public void setUser_number(Integer user_number) {
        this.user_number = user_number;
    }

    public Date getCreat_time() {
        return creat_time;
    }

    public void setCreat_time(Date creat_time) {
        this.creat_time = creat_time;
    }

    public Integer getClass_level() {
        return class_level;
    }

    public void setClass_level(Integer class_level) {
        this.class_level = class_level;
    }

    @Override
    public String toString() {
        return "Class{" +
                "class_id=" + class_id +
                ", class_root='" + class_root + '\'' +
                ", take_number=" + take_number +
                ", user_number=" + user_number +
                ", creat_time=" + creat_time +
                ", class_level=" + class_level +
                '}';
    }
}
